package cn.shoukaiseki.sjf4j.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Base {

    private Long l1 =1L;

    private Double d1=0.987654321;

    private double d2=0.987654321;

    private Float f1=0.987654321F;

    private float f2=0.987654321F;

    private Boolean b1=true;

    private Boolean b1b=false;

    private boolean b2=true;

    private boolean b2b;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime=new Date();

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime=new Date();


    @JsonFormat(pattern = "HH:mm:ss")
    private Date time=new Date();

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date=new Date();

}
